﻿.vsm-spinner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.15);
    z-index: 99999;
    text-align: center;
    display: none;
}

    .vsm-spinner.on {
        display: block;
    }

    .vsm-spinner .spanner {
        position: absolute;
        top: 20%;
        left: 0;
        width: 100%;
        display: block;
        text-align: center;
        height: 300px;
        color: #ffffff;
        font-weight: bolder;
    }

    .vsm-spinner .overlay {
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .vsm-spinner .loader,
    .vsm-spinner .loader:before,
    .vsm-spinner .loader:after {
        border-radius: 50%;
        width: 2.5em;
        height: 2.5em;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation: load7 1.8s infinite ease-in-out;
        animation: load7 1.8s infinite ease-in-out;
    }

    .vsm-spinner .loader {
        color: #3ebb76;
        font-size: 15px;
        margin: 80px auto;
        position: relative;
        text-indent: -9999em;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

        .vsm-spinner .loader:before,
        .vsm-spinner .loader:after {
            content: '';
            position: absolute;
            top: 0;
        }

        .vsm-spinner .loader:before {
            left: -4em;
            -webkit-animation-delay: -0.32s;
            animation-delay: -0.32s;
        }

        .vsm-spinner .loader:after {
            left: 4em;
        }

    .vsm-spinner .spanner, .vsm-spinner .overlay {
        opacity: 0;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }

    .vsm-spinner.on .spanner, .vsm-spinner.on .overlay {
        opacity: 1
    }

@-webkit-keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}